/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * DatosEcocardiogramaPanel.java
 *
 * Created on 17/01/2011, 17:22:06
 */

package presentacion.tratamiento_y_practica;

import hibernate.objeto.CuidadoCuidadoYMedicion;
import hibernate.objeto.CuidadoYMedicion;
import java.awt.Component;
import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.util.Vector;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.JSpinner.DefaultEditor;
import logica.CapaLogica;
import logica.CuidadoCuidadoYMedicionLogica;
import logica.CuidadoYMedicionLogica;
import presentacion.CapaPresentacion;
import presentacion.utilidad.maquetado.Fuente;
import presentacion.utilidad.maquetado.Icono;
import presentacion.utilidad.maquetado.InformeError;

/**
 *
 * @author Gonzalo
 */
public class DatosCuidadosYMedicionesPanel extends javax.swing.JPanel {

    public DatosCuidadosYMedicionesPanel(CuidadoYMedicion cuidadoYMedicion) {

        this.cuidadoYMedicion = cuidadoYMedicion;
        initComponents();
        setearEventosQueCapturanTeclaEnterYEscape();

        if (cuidadoYMedicion != null) {
            personalizarJDialog();
        }
    }

 /**
     * Setea datos de la ventana.
     *
     */
    public void personalizarJDialog() {
        exhibirDatosEnPantalla();
            if(CapaPresentacion.modoVisualizacion) {
                inhabilitarCampos();
            }
        personalizarJPanels();
    }

    /**
     * Permite visualizar los detalles.
     *
     */
    private void exhibirDatosEnPantalla() {
        adPvc.setValue(cuidadoYMedicion.
                getAdPvcMonitoreoHemodinamicoCuidadoYMedicion());
        pcp.setValue(cuidadoYMedicion.
                getPcpMonitoreoHemodinamicoCuidadoYMedicion());
        vm.setValue(cuidadoYMedicion.
                getVmMonitoreoHemodinamicoCuidadoYMedicion());
        soO2.setValue(cuidadoYMedicion.
                getSoO2MonitoreoHemodinamicoCuidadoYMedicion());
        svO2.setValue(cuidadoYMedicion.
                getSvO2MonitoreoHemodinamicoCuidadoYMedicion());
        sMonitoreoHemodinamico.setValue(cuidadoYMedicion.
                getSPapMonitoreoHemodinamicoCuidadoYMedicion());
        dMonitoreoHemodinamico.setValue(cuidadoYMedicion.
                getDPapMonitoreoHemodinamicoCuidadoYMedicion());
        meMonitoreoHemodinamico.setValue(cuidadoYMedicion.
                getMePapMonitoreoHemodinamicoCuidadoYMedicion());
        fc.setValue(cuidadoYMedicion.getFcSignosVitalesCuidadoYMedicion());
        fr.setValue(cuidadoYMedicion.getFrSignosVitalesCuidadoYMedicion());
        ax.setValue(cuidadoYMedicion.getAxTaSignosVitalesCuidadoYMedicion());
        c.setValue(cuidadoYMedicion.getCTaSignosVitalesCuidadoYMedicion());
        sSignosVitales.setValue(cuidadoYMedicion.
                getSTSignosVitalesCuidadoYMedicion());
        dSignosVitales.setValue(cuidadoYMedicion.
                getDTSignosVitalesCuidadoYMedicion());
        meSignosVitales.setValue(cuidadoYMedicion.
                getMeTSignosVitalesCuidadoYMedicion());
        fio2.setValue(cuidadoYMedicion.getFiO2RespiratorioCuidadoYMedicion());
        peep.setValue(cuidadoYMedicion.getPeepRespiratorioCuidadoYMedicion());
        controlPr.setValue(cuidadoYMedicion.
                getControlPrRespiratorioCuidadoYMedicion());
        controlVol.setValue(cuidadoYMedicion.
                getControlVolRespiratorioCuidadoYMedicion());
        if (cuidadoYMedicion.getTuboEnTRespiratorioCuidadoYMedicion().
                equalsIgnoreCase("si")) {
            siTuboEnT.setSelected(true);
        } else {
            noTuboEnT.setSelected(true);
        }
        pupilas.getModel().setSelectedItem(WIDTH);
        pic.setValue(cuidadoYMedicion.getPicCuidadoYMedicion());
        hgt.setValue(cuidadoYMedicion.getHgtCuidadoYMedicion());
        ojos.setValue(cuidadoYMedicion.getOjosEscalaGlasgowCuidadoYMedicion());
        respMotora.setValue(cuidadoYMedicion.
                getRespMotoraEscalaGlasgowCuidadoYMedicion());
        respVerbal.setValue(cuidadoYMedicion.
                getRespVerbalEscalaGlasgowCuidadoYMedicion());

    }


    /**
     * Pone en false la propiedad enabled de todos los campos de ingreso.
     *
     */
    private void inhabilitarCampos() {
        adPvc.setEnabled(false);
        pcp.setEnabled(false);
        vm.setEnabled(false);
        soO2.setEnabled(false);
        svO2.setEnabled(false);
        sMonitoreoHemodinamico.setEnabled(false);
        dMonitoreoHemodinamico.setEnabled(false);
        meMonitoreoHemodinamico.setEnabled(false);
        fc.setEnabled(false);
        fr.setEnabled(false);
        ax.setEnabled(false);
        c.setEnabled(false);
        sSignosVitales.setEnabled(false);
        dSignosVitales.setEnabled(false);
        meSignosVitales.setEnabled(false);
        fio2.setEnabled(false);
        peep.setEnabled(false);
        controlPr.setEnabled(false);
        controlVol.setEnabled(false);
        siTuboEnT.setEnabled(false);
        noTuboEnT.setEnabled(false);
        pupilas.setEnabled(false);
        pic.setEnabled(false);
        hgt.setEnabled(false);
        ojos.setEnabled(false);
        respMotora.setEnabled(false);
        respVerbal.setEnabled(false);
        agregarCuidado.setVisible(false);
    }

    /**
     * Personaliza los JPanels según el tipo de estudio.
     */
    private void personalizarJPanels() {
        Vector<CuidadoCuidadoYMedicion>
                vectorCuidadoCuidadoYMedicion =
                CuidadoCuidadoYMedicionLogica.
                getVectorCuidadoCuidadoYMedicionPorIdCuidadoYMedicion(
                cuidadoYMedicion.getIdCuidadoYMedicion());
            if (vectorCuidadoCuidadoYMedicion != null) {
                for (int i = 0; i < vectorCuidadoCuidadoYMedicion.size(); i++) {
                    agregarPanel(panelCuidados,
                            new DatosCuidadoPanel(vectorCuidadoCuidadoYMedicion.
                            elementAt(i)));

                }
        }
    }
    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        panelCuidadosScrollPane = new javax.swing.JScrollPane();
        panelCuidados = new javax.swing.JPanel();
        panelEstudioCardiologiaInternoScrollPane = new javax.swing.JScrollPane();
        panelEstudioCardiologiaInterno = new javax.swing.JPanel();
        panelPesoYAltura = new javax.swing.JPanel();
        textoDMonitoreoHemodinamico = new javax.swing.JLabel();
        textoPap = new javax.swing.JLabel();
        textoSMonitoreoHemodinamico = new javax.swing.JLabel();
        textoPcp = new javax.swing.JLabel();
        pcp = new javax.swing.JSpinner();
        textoAdPvc = new javax.swing.JLabel();
        adPvc = new javax.swing.JSpinner();
        textoMonitoreoHemodinamico = new javax.swing.JLabel();
        sMonitoreoHemodinamico = new javax.swing.JSpinner();
        dMonitoreoHemodinamico = new javax.swing.JSpinner();
        textoMeMonitoreoHemodinamico = new javax.swing.JLabel();
        meMonitoreoHemodinamico = new javax.swing.JSpinner();
        soO2 = new javax.swing.JSpinner();
        vm = new javax.swing.JSpinner();
        svO2 = new javax.swing.JSpinner();
        textoSvO2 = new javax.swing.JLabel();
        textoVm = new javax.swing.JLabel();
        textoSoO2 = new javax.swing.JLabel();
        panelPesoYAltura1 = new javax.swing.JPanel();
        textoDSignosVitales = new javax.swing.JLabel();
        textoT = new javax.swing.JLabel();
        textoSSignosVitales = new javax.swing.JLabel();
        textoFr = new javax.swing.JLabel();
        fr = new javax.swing.JSpinner();
        textoFc = new javax.swing.JLabel();
        fc = new javax.swing.JSpinner();
        textoSignosVitales = new javax.swing.JLabel();
        sSignosVitales = new javax.swing.JSpinner();
        dSignosVitales = new javax.swing.JSpinner();
        textoMeSignosVitales = new javax.swing.JLabel();
        meSignosVitales = new javax.swing.JSpinner();
        ax = new javax.swing.JSpinner();
        c = new javax.swing.JSpinner();
        textoC = new javax.swing.JLabel();
        textoTa = new javax.swing.JLabel();
        textoAx = new javax.swing.JLabel();
        panelPesoYAltura4 = new javax.swing.JPanel();
        textoPeep = new javax.swing.JLabel();
        peep = new javax.swing.JSpinner();
        textoFioO2 = new javax.swing.JLabel();
        fio2 = new javax.swing.JSpinner();
        textoRespiratorio = new javax.swing.JLabel();
        textoControlVol = new javax.swing.JLabel();
        controlVol = new javax.swing.JSpinner();
        textoControlPr = new javax.swing.JLabel();
        textoTuboenT = new javax.swing.JLabel();
        controlPr = new javax.swing.JSpinner();
        siTuboEnT = new javax.swing.JRadioButton();
        noTuboEnT = new javax.swing.JRadioButton();
        jSeparator1 = new javax.swing.JSeparator();
        jSeparator2 = new javax.swing.JSeparator();
        jSeparator3 = new javax.swing.JSeparator();
        panelPesoYAltura5 = new javax.swing.JPanel();
        textoRespVerbal = new javax.swing.JLabel();
        respVerbal = new javax.swing.JSpinner();
        textoOjos = new javax.swing.JLabel();
        ojos = new javax.swing.JSpinner();
        textoEscalaGlasgow = new javax.swing.JLabel();
        textoRespMotora = new javax.swing.JLabel();
        respMotora = new javax.swing.JSpinner();
        jSeparator4 = new javax.swing.JSeparator();
        panelPesoYAltura6 = new javax.swing.JPanel();
        textoPic = new javax.swing.JLabel();
        pic = new javax.swing.JSpinner();
        textoPupilas = new javax.swing.JLabel();
        textoHgt = new javax.swing.JLabel();
        hgt = new javax.swing.JSpinner();
        pupilas = new javax.swing.JComboBox();
        jSeparator5 = new javax.swing.JSeparator();
        textoCuidados = new javax.swing.JLabel();
        agregarCuidado = new javax.swing.JButton();

        panelCuidadosScrollPane.setBorder(null);
        panelCuidadosScrollPane.setPreferredSize(new java.awt.Dimension(374, 177));

        panelCuidados.setLayout(new javax.swing.BoxLayout(panelCuidados, javax.swing.BoxLayout.Y_AXIS));
        panelCuidadosScrollPane.setViewportView(panelCuidados);

        panelEstudioCardiologiaInternoScrollPane.setBorder(null);
        panelEstudioCardiologiaInternoScrollPane.setPreferredSize(new java.awt.Dimension(675, 299));

        panelEstudioCardiologiaInterno.setMaximumSize(new java.awt.Dimension(374, 320));
        panelEstudioCardiologiaInterno.setPreferredSize(new java.awt.Dimension(675, 320));

        textoDMonitoreoHemodinamico.setFont(Fuente.FUENTE_LABEL);
        textoDMonitoreoHemodinamico.setForeground(Fuente.COLOR_NORMAL);
        textoDMonitoreoHemodinamico.setText("D.");
        textoDMonitoreoHemodinamico.setPreferredSize(new java.awt.Dimension(158, 20));

        textoPap.setFont(Fuente.FUENTE_LABEL);
        textoPap.setForeground(Fuente.COLOR_NORMAL);
        textoPap.setText("P.A.P.");
        textoPap.setPreferredSize(new java.awt.Dimension(66, 20));

        textoSMonitoreoHemodinamico.setFont(Fuente.FUENTE_LABEL);
        textoSMonitoreoHemodinamico.setForeground(Fuente.COLOR_NORMAL);
        textoSMonitoreoHemodinamico.setText("S.");
        textoSMonitoreoHemodinamico.setPreferredSize(new java.awt.Dimension(158, 20));

        textoPcp.setFont(Fuente.FUENTE_LABEL);
        textoPcp.setForeground(Fuente.COLOR_NORMAL);
        textoPcp.setText("P.C.P.");
        textoPcp.setPreferredSize(new java.awt.Dimension(66, 20));

        pcp.setFont(Fuente.FUENTE_TEXTFIELD);
        pcp.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        pcp.setPreferredSize(new java.awt.Dimension(52, 20));

        textoAdPvc.setFont(Fuente.FUENTE_LABEL);
        textoAdPvc.setForeground(Fuente.COLOR_NORMAL);
        textoAdPvc.setText("AD. PVC");
        textoAdPvc.setPreferredSize(new java.awt.Dimension(66, 20));

        adPvc.setFont(Fuente.FUENTE_TEXTFIELD);
        adPvc.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        adPvc.setPreferredSize(new java.awt.Dimension(52, 20));

        textoMonitoreoHemodinamico.setFont(Fuente.FUENTE_LABEL);
        textoMonitoreoHemodinamico.setForeground(Fuente.COLOR_NORMAL);
        textoMonitoreoHemodinamico.setText("Monitoreo hemodinámico");
        textoMonitoreoHemodinamico.setPreferredSize(new java.awt.Dimension(189, 14));

        sMonitoreoHemodinamico.setFont(Fuente.FUENTE_TEXTFIELD);
        sMonitoreoHemodinamico.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        sMonitoreoHemodinamico.setPreferredSize(new java.awt.Dimension(52, 20));

        dMonitoreoHemodinamico.setFont(Fuente.FUENTE_TEXTFIELD);
        dMonitoreoHemodinamico.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        dMonitoreoHemodinamico.setPreferredSize(new java.awt.Dimension(52, 20));

        textoMeMonitoreoHemodinamico.setFont(Fuente.FUENTE_LABEL);
        textoMeMonitoreoHemodinamico.setForeground(Fuente.COLOR_NORMAL);
        textoMeMonitoreoHemodinamico.setText("Me.");
        textoMeMonitoreoHemodinamico.setPreferredSize(new java.awt.Dimension(158, 20));

        meMonitoreoHemodinamico.setFont(Fuente.FUENTE_TEXTFIELD);
        meMonitoreoHemodinamico.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        meMonitoreoHemodinamico.setPreferredSize(new java.awt.Dimension(52, 20));

        soO2.setFont(Fuente.FUENTE_TEXTFIELD);
        soO2.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        soO2.setPreferredSize(new java.awt.Dimension(52, 20));

        vm.setFont(Fuente.FUENTE_TEXTFIELD);
        vm.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        vm.setPreferredSize(new java.awt.Dimension(52, 20));

        svO2.setFont(Fuente.FUENTE_TEXTFIELD);
        svO2.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        svO2.setPreferredSize(new java.awt.Dimension(52, 20));

        textoSvO2.setFont(Fuente.FUENTE_LABEL);
        textoSvO2.setForeground(Fuente.COLOR_NORMAL);
        textoSvO2.setText("S.V O2");
        textoSvO2.setPreferredSize(new java.awt.Dimension(66, 20));

        textoVm.setFont(Fuente.FUENTE_LABEL);
        textoVm.setForeground(Fuente.COLOR_NORMAL);
        textoVm.setText("V.M.");
        textoVm.setPreferredSize(new java.awt.Dimension(66, 20));

        textoSoO2.setFont(Fuente.FUENTE_LABEL);
        textoSoO2.setForeground(Fuente.COLOR_NORMAL);
        textoSoO2.setText("S.O O2");
        textoSoO2.setPreferredSize(new java.awt.Dimension(66, 20));

        javax.swing.GroupLayout panelPesoYAlturaLayout = new javax.swing.GroupLayout(panelPesoYAltura);
        panelPesoYAltura.setLayout(panelPesoYAlturaLayout);
        panelPesoYAlturaLayout.setHorizontalGroup(
            panelPesoYAlturaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(textoMonitoreoHemodinamico, javax.swing.GroupLayout.DEFAULT_SIZE, 152, Short.MAX_VALUE)
            .addGroup(panelPesoYAlturaLayout.createSequentialGroup()
                .addGroup(panelPesoYAlturaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, panelPesoYAlturaLayout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(panelPesoYAlturaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                            .addComponent(textoPap, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(textoSvO2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(textoSoO2, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(textoVm, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(textoPcp, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addComponent(textoAdPvc, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)))
                    .addGroup(javax.swing.GroupLayout.Alignment.LEADING, panelPesoYAlturaLayout.createSequentialGroup()
                        .addGap(20, 20, 20)
                        .addGroup(panelPesoYAlturaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(textoSMonitoreoHemodinamico, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, 45, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, panelPesoYAlturaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                .addComponent(textoMeMonitoreoHemodinamico, javax.swing.GroupLayout.Alignment.LEADING, 0, 0, Short.MAX_VALUE)
                                .addComponent(textoDMonitoreoHemodinamico, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 37, Short.MAX_VALUE)))))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 14, Short.MAX_VALUE)
                .addGroup(panelPesoYAlturaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(panelPesoYAlturaLayout.createSequentialGroup()
                        .addComponent(adPvc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap())
                    .addGroup(panelPesoYAlturaLayout.createSequentialGroup()
                        .addComponent(pcp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap())
                    .addGroup(panelPesoYAlturaLayout.createSequentialGroup()
                        .addComponent(vm, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap())
                    .addGroup(panelPesoYAlturaLayout.createSequentialGroup()
                        .addComponent(soO2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap())
                    .addGroup(panelPesoYAlturaLayout.createSequentialGroup()
                        .addComponent(svO2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap())
                    .addGroup(panelPesoYAlturaLayout.createSequentialGroup()
                        .addComponent(sMonitoreoHemodinamico, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap())
                    .addGroup(panelPesoYAlturaLayout.createSequentialGroup()
                        .addComponent(dMonitoreoHemodinamico, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap())
                    .addGroup(panelPesoYAlturaLayout.createSequentialGroup()
                        .addComponent(meMonitoreoHemodinamico, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap())))
        );
        panelPesoYAlturaLayout.setVerticalGroup(
            panelPesoYAlturaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelPesoYAlturaLayout.createSequentialGroup()
                .addComponent(textoMonitoreoHemodinamico, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAlturaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoAdPvc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(adPvc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAlturaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoPcp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pcp, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAlturaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoVm, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(vm, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAlturaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoSoO2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(soO2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAlturaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoSvO2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(svO2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(textoPap, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(panelPesoYAlturaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoSMonitoreoHemodinamico, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(sMonitoreoHemodinamico, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAlturaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoDMonitoreoHemodinamico, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(dMonitoreoHemodinamico, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAlturaLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoMeMonitoreoHemodinamico, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(meMonitoreoHemodinamico, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
        );

        textoDSignosVitales.setFont(Fuente.FUENTE_LABEL);
        textoDSignosVitales.setForeground(Fuente.COLOR_NORMAL);
        textoDSignosVitales.setText("D.");
        textoDSignosVitales.setPreferredSize(new java.awt.Dimension(158, 20));

        textoT.setFont(Fuente.FUENTE_LABEL);
        textoT.setForeground(Fuente.COLOR_NORMAL);
        textoT.setText("T.");
        textoT.setPreferredSize(new java.awt.Dimension(66, 20));

        textoSSignosVitales.setFont(Fuente.FUENTE_LABEL);
        textoSSignosVitales.setForeground(Fuente.COLOR_NORMAL);
        textoSSignosVitales.setText("S.");
        textoSSignosVitales.setPreferredSize(new java.awt.Dimension(158, 20));

        textoFr.setFont(Fuente.FUENTE_LABEL);
        textoFr.setForeground(Fuente.COLOR_NORMAL);
        textoFr.setText("FR");
        textoFr.setPreferredSize(new java.awt.Dimension(66, 20));

        fr.setFont(Fuente.FUENTE_TEXTFIELD);
        fr.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        fr.setPreferredSize(new java.awt.Dimension(52, 20));

        textoFc.setFont(Fuente.FUENTE_LABEL);
        textoFc.setForeground(Fuente.COLOR_NORMAL);
        textoFc.setText("FC");
        textoFc.setPreferredSize(new java.awt.Dimension(66, 20));

        fc.setFont(Fuente.FUENTE_TEXTFIELD);
        fc.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        fc.setPreferredSize(new java.awt.Dimension(52, 20));

        textoSignosVitales.setFont(Fuente.FUENTE_LABEL);
        textoSignosVitales.setForeground(Fuente.COLOR_NORMAL);
        textoSignosVitales.setText("Signos vitales");
        textoSignosVitales.setPreferredSize(new java.awt.Dimension(189, 14));

        sSignosVitales.setFont(Fuente.FUENTE_TEXTFIELD);
        sSignosVitales.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        sSignosVitales.setPreferredSize(new java.awt.Dimension(52, 20));

        dSignosVitales.setFont(Fuente.FUENTE_TEXTFIELD);
        dSignosVitales.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        dSignosVitales.setPreferredSize(new java.awt.Dimension(52, 20));

        textoMeSignosVitales.setFont(Fuente.FUENTE_LABEL);
        textoMeSignosVitales.setForeground(Fuente.COLOR_NORMAL);
        textoMeSignosVitales.setText("Me.");
        textoMeSignosVitales.setPreferredSize(new java.awt.Dimension(158, 20));

        meSignosVitales.setFont(Fuente.FUENTE_TEXTFIELD);
        meSignosVitales.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        meSignosVitales.setPreferredSize(new java.awt.Dimension(52, 20));

        ax.setFont(Fuente.FUENTE_TEXTFIELD);
        ax.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        ax.setPreferredSize(new java.awt.Dimension(52, 20));

        c.setFont(Fuente.FUENTE_TEXTFIELD);
        c.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        c.setPreferredSize(new java.awt.Dimension(52, 20));

        textoC.setFont(Fuente.FUENTE_LABEL);
        textoC.setForeground(Fuente.COLOR_NORMAL);
        textoC.setText("C.");
        textoC.setPreferredSize(new java.awt.Dimension(169, 20));

        textoTa.setFont(Fuente.FUENTE_LABEL);
        textoTa.setForeground(Fuente.COLOR_NORMAL);
        textoTa.setText("T.A.");
        textoTa.setPreferredSize(new java.awt.Dimension(66, 20));

        textoAx.setFont(Fuente.FUENTE_LABEL);
        textoAx.setForeground(Fuente.COLOR_NORMAL);
        textoAx.setText("Ax.");
        textoAx.setPreferredSize(new java.awt.Dimension(169, 20));

        javax.swing.GroupLayout panelPesoYAltura1Layout = new javax.swing.GroupLayout(panelPesoYAltura1);
        panelPesoYAltura1.setLayout(panelPesoYAltura1Layout);
        panelPesoYAltura1Layout.setHorizontalGroup(
            panelPesoYAltura1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(textoSignosVitales, javax.swing.GroupLayout.DEFAULT_SIZE, 148, Short.MAX_VALUE)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, panelPesoYAltura1Layout.createSequentialGroup()
                .addGroup(panelPesoYAltura1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addGroup(panelPesoYAltura1Layout.createSequentialGroup()
                        .addContainerGap()
                        .addGroup(panelPesoYAltura1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(textoTa, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                            .addGroup(javax.swing.GroupLayout.Alignment.LEADING, panelPesoYAltura1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                                .addComponent(textoFr, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(textoFc, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addGroup(panelPesoYAltura1Layout.createSequentialGroup()
                                    .addGap(10, 10, 10)
                                    .addComponent(textoC, javax.swing.GroupLayout.PREFERRED_SIZE, 56, javax.swing.GroupLayout.PREFERRED_SIZE))
                                .addComponent(textoAx, javax.swing.GroupLayout.PREFERRED_SIZE, 56, javax.swing.GroupLayout.PREFERRED_SIZE))
                            .addComponent(textoT, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 66, Short.MAX_VALUE))
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED))
                    .addGroup(panelPesoYAltura1Layout.createSequentialGroup()
                        .addGap(20, 20, 20)
                        .addGroup(panelPesoYAltura1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                            .addComponent(textoMeSignosVitales, 0, 0, Short.MAX_VALUE)
                            .addComponent(textoSSignosVitales, javax.swing.GroupLayout.DEFAULT_SIZE, 56, Short.MAX_VALUE)
                            .addComponent(textoDSignosVitales, javax.swing.GroupLayout.DEFAULT_SIZE, 56, Short.MAX_VALUE))
                        .addGap(10, 10, 10)))
                .addGroup(panelPesoYAltura1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(panelPesoYAltura1Layout.createSequentialGroup()
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                        .addComponent(fc, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                        .addContainerGap())
                    .addGroup(panelPesoYAltura1Layout.createSequentialGroup()
                        .addGroup(panelPesoYAltura1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                            .addComponent(meSignosVitales, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 52, Short.MAX_VALUE)
                            .addComponent(dSignosVitales, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 52, Short.MAX_VALUE)
                            .addComponent(sSignosVitales, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 52, Short.MAX_VALUE)
                            .addComponent(c, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 52, Short.MAX_VALUE)
                            .addComponent(ax, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, 52, Short.MAX_VALUE)
                            .addComponent(fr, javax.swing.GroupLayout.DEFAULT_SIZE, 52, Short.MAX_VALUE))
                        .addContainerGap())))
        );
        panelPesoYAltura1Layout.setVerticalGroup(
            panelPesoYAltura1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelPesoYAltura1Layout.createSequentialGroup()
                .addComponent(textoSignosVitales, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAltura1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoFc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(fc, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAltura1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoFr, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(fr, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(textoTa, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(11, 11, 11)
                .addGroup(panelPesoYAltura1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(ax, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(textoAx, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAltura1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(c, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(textoC, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(textoT, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(panelPesoYAltura1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoSSignosVitales, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(sSignosVitales, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAltura1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoDSignosVitales, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(dSignosVitales, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAltura1Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoMeSignosVitales, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(meSignosVitales, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
        );

        textoPeep.setFont(Fuente.FUENTE_LABEL);
        textoPeep.setForeground(Fuente.COLOR_NORMAL);
        textoPeep.setText("P.E.E.P.");
        textoPeep.setPreferredSize(new java.awt.Dimension(66, 20));

        peep.setFont(Fuente.FUENTE_TEXTFIELD);
        peep.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        peep.setPreferredSize(new java.awt.Dimension(52, 20));

        textoFioO2.setFont(Fuente.FUENTE_LABEL);
        textoFioO2.setForeground(Fuente.COLOR_NORMAL);
        textoFioO2.setText("Fi O2 (%)");
        textoFioO2.setPreferredSize(new java.awt.Dimension(66, 20));

        fio2.setFont(Fuente.FUENTE_TEXTFIELD);
        fio2.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        fio2.setPreferredSize(new java.awt.Dimension(52, 20));

        textoRespiratorio.setFont(Fuente.FUENTE_LABEL);
        textoRespiratorio.setForeground(Fuente.COLOR_NORMAL);
        textoRespiratorio.setText("Respiratorio");
        textoRespiratorio.setPreferredSize(new java.awt.Dimension(189, 14));

        textoControlVol.setFont(Fuente.FUENTE_LABEL);
        textoControlVol.setForeground(Fuente.COLOR_NORMAL);
        textoControlVol.setText("Control vol.");
        textoControlVol.setPreferredSize(new java.awt.Dimension(66, 20));

        controlVol.setFont(Fuente.FUENTE_TEXTFIELD);
        controlVol.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        controlVol.setPreferredSize(new java.awt.Dimension(52, 20));

        textoControlPr.setFont(Fuente.FUENTE_LABEL);
        textoControlPr.setForeground(Fuente.COLOR_NORMAL);
        textoControlPr.setText("Control pr.");
        textoControlPr.setPreferredSize(new java.awt.Dimension(66, 20));

        textoTuboenT.setFont(Fuente.FUENTE_LABEL);
        textoTuboenT.setForeground(Fuente.COLOR_NORMAL);
        textoTuboenT.setText("Tubo en T");
        textoTuboenT.setPreferredSize(new java.awt.Dimension(66, 20));

        controlPr.setFont(Fuente.FUENTE_TEXTFIELD);
        controlPr.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        controlPr.setPreferredSize(new java.awt.Dimension(52, 20));

        siTuboEnT.setFont(Fuente.FUENTE_CHECKBOX);
        siTuboEnT.setForeground(Fuente.COLOR_NORMAL);
        siTuboEnT.setText("si");
        siTuboEnT.setPreferredSize(new java.awt.Dimension(42, 20));
        siTuboEnT.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                siTuboEnTActionPerformed(evt);
            }
        });

        noTuboEnT.setFont(Fuente.FUENTE_CHECKBOX);
        noTuboEnT.setForeground(Fuente.COLOR_NORMAL);
        noTuboEnT.setText("no");
        noTuboEnT.setPreferredSize(new java.awt.Dimension(42, 20));
        noTuboEnT.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                noTuboEnTActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout panelPesoYAltura4Layout = new javax.swing.GroupLayout(panelPesoYAltura4);
        panelPesoYAltura4.setLayout(panelPesoYAltura4Layout);
        panelPesoYAltura4Layout.setHorizontalGroup(
            panelPesoYAltura4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelPesoYAltura4Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelPesoYAltura4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(textoTuboenT, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(textoControlPr, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(textoPeep, 0, 0, Short.MAX_VALUE)
                    .addComponent(textoControlVol, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(textoFioO2, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addGroup(panelPesoYAltura4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(panelPesoYAltura4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, panelPesoYAltura4Layout.createSequentialGroup()
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(siTuboEnT, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addComponent(noTuboEnT, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                            .addContainerGap())
                        .addGroup(panelPesoYAltura4Layout.createSequentialGroup()
                            .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                            .addGroup(panelPesoYAltura4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                                .addComponent(peep, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(controlVol, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                                .addComponent(controlPr, javax.swing.GroupLayout.Alignment.TRAILING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                            .addContainerGap()))
                    .addGroup(panelPesoYAltura4Layout.createSequentialGroup()
                        .addComponent(fio2, javax.swing.GroupLayout.PREFERRED_SIZE, 52, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addContainerGap())))
            .addComponent(textoRespiratorio, javax.swing.GroupLayout.DEFAULT_SIZE, 166, Short.MAX_VALUE)
        );
        panelPesoYAltura4Layout.setVerticalGroup(
            panelPesoYAltura4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelPesoYAltura4Layout.createSequentialGroup()
                .addComponent(textoRespiratorio, javax.swing.GroupLayout.PREFERRED_SIZE, 14, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAltura4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoFioO2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(fio2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAltura4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoPeep, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(peep, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAltura4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoControlVol, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(controlVol, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAltura4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoControlPr, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(controlPr, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAltura4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoTuboenT, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(noTuboEnT, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(siTuboEnT, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
        );

        jSeparator1.setOrientation(javax.swing.SwingConstants.VERTICAL);

        jSeparator2.setOrientation(javax.swing.SwingConstants.VERTICAL);

        jSeparator3.setOrientation(javax.swing.SwingConstants.VERTICAL);

        textoRespVerbal.setFont(Fuente.FUENTE_LABEL);
        textoRespVerbal.setForeground(Fuente.COLOR_NORMAL);
        textoRespVerbal.setText("Resp. verbal");
        textoRespVerbal.setPreferredSize(new java.awt.Dimension(66, 20));

        respVerbal.setFont(Fuente.FUENTE_TEXTFIELD);
        respVerbal.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        respVerbal.setPreferredSize(new java.awt.Dimension(52, 20));

        textoOjos.setFont(Fuente.FUENTE_LABEL);
        textoOjos.setForeground(Fuente.COLOR_NORMAL);
        textoOjos.setText("Ojos");
        textoOjos.setPreferredSize(new java.awt.Dimension(66, 20));

        ojos.setFont(Fuente.FUENTE_TEXTFIELD);
        ojos.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        ojos.setPreferredSize(new java.awt.Dimension(52, 20));

        textoEscalaGlasgow.setFont(Fuente.FUENTE_LABEL);
        textoEscalaGlasgow.setForeground(Fuente.COLOR_NORMAL);
        textoEscalaGlasgow.setText("Escala glasgow");
        textoEscalaGlasgow.setPreferredSize(new java.awt.Dimension(189, 14));

        textoRespMotora.setFont(Fuente.FUENTE_LABEL);
        textoRespMotora.setForeground(Fuente.COLOR_NORMAL);
        textoRespMotora.setText("Resp. motora");
        textoRespMotora.setPreferredSize(new java.awt.Dimension(66, 20));

        respMotora.setFont(Fuente.FUENTE_TEXTFIELD);
        respMotora.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        respMotora.setPreferredSize(new java.awt.Dimension(52, 20));

        javax.swing.GroupLayout panelPesoYAltura5Layout = new javax.swing.GroupLayout(panelPesoYAltura5);
        panelPesoYAltura5.setLayout(panelPesoYAltura5Layout);
        panelPesoYAltura5Layout.setHorizontalGroup(
            panelPesoYAltura5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelPesoYAltura5Layout.createSequentialGroup()
                .addComponent(textoEscalaGlasgow, javax.swing.GroupLayout.DEFAULT_SIZE, 108, Short.MAX_VALUE)
                .addGap(34, 34, 34))
            .addGroup(panelPesoYAltura5Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelPesoYAltura5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(textoOjos, javax.swing.GroupLayout.Alignment.LEADING, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(textoRespVerbal, javax.swing.GroupLayout.Alignment.LEADING, 0, 0, Short.MAX_VALUE)
                    .addComponent(textoRespMotora, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                .addGroup(panelPesoYAltura5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(respMotora, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(respVerbal, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(ojos, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        panelPesoYAltura5Layout.setVerticalGroup(
            panelPesoYAltura5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelPesoYAltura5Layout.createSequentialGroup()
                .addComponent(textoEscalaGlasgow, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAltura5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoOjos, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(ojos, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAltura5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoRespVerbal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(respVerbal, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAltura5Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoRespMotora, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(respMotora, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(37, Short.MAX_VALUE))
        );

        textoPic.setFont(Fuente.FUENTE_LABEL);
        textoPic.setForeground(Fuente.COLOR_NORMAL);
        textoPic.setText("P.I.C.");
        textoPic.setPreferredSize(new java.awt.Dimension(66, 20));

        pic.setFont(Fuente.FUENTE_TEXTFIELD);
        pic.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        pic.setPreferredSize(new java.awt.Dimension(52, 20));

        textoPupilas.setFont(Fuente.FUENTE_LABEL);
        textoPupilas.setForeground(Fuente.COLOR_NORMAL);
        textoPupilas.setText("Pupilas");
        textoPupilas.setPreferredSize(new java.awt.Dimension(66, 20));

        textoHgt.setFont(Fuente.FUENTE_LABEL);
        textoHgt.setForeground(Fuente.COLOR_NORMAL);
        textoHgt.setText("H.G.T.");
        textoHgt.setPreferredSize(new java.awt.Dimension(66, 20));

        hgt.setFont(Fuente.FUENTE_TEXTFIELD);
        hgt.setModel(new javax.swing.SpinnerNumberModel(Float.valueOf(0.0f), null, null, Float.valueOf(1.0f)));
        hgt.setPreferredSize(new java.awt.Dimension(52, 20));

        pupilas.setFont(Fuente.FUENTE_COMBOBOX);
        pupilas.setModel(CapaPresentacion.getListaDePupilasCuidadosYMediciones());
        pupilas.setPreferredSize(new java.awt.Dimension(70, 20));

        javax.swing.GroupLayout panelPesoYAltura6Layout = new javax.swing.GroupLayout(panelPesoYAltura6);
        panelPesoYAltura6.setLayout(panelPesoYAltura6Layout);
        panelPesoYAltura6Layout.setHorizontalGroup(
            panelPesoYAltura6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelPesoYAltura6Layout.createSequentialGroup()
                .addContainerGap()
                .addGroup(panelPesoYAltura6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING, false)
                    .addComponent(textoHgt, 0, 0, Short.MAX_VALUE)
                    .addComponent(textoPic, 0, 0, Short.MAX_VALUE)
                    .addComponent(textoPupilas, javax.swing.GroupLayout.DEFAULT_SIZE, 38, Short.MAX_VALUE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED, 38, Short.MAX_VALUE)
                .addGroup(panelPesoYAltura6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                    .addComponent(pupilas, 0, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(pic, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
                    .addComponent(hgt, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE))
                .addContainerGap())
        );
        panelPesoYAltura6Layout.setVerticalGroup(
            panelPesoYAltura6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelPesoYAltura6Layout.createSequentialGroup()
                .addGroup(panelPesoYAltura6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoPupilas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pupilas, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAltura6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoPic, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(pic, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addGroup(panelPesoYAltura6Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoHgt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(hgt, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)))
        );

        javax.swing.GroupLayout panelEstudioCardiologiaInternoLayout = new javax.swing.GroupLayout(panelEstudioCardiologiaInterno);
        panelEstudioCardiologiaInterno.setLayout(panelEstudioCardiologiaInternoLayout);
        panelEstudioCardiologiaInternoLayout.setHorizontalGroup(
            panelEstudioCardiologiaInternoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelEstudioCardiologiaInternoLayout.createSequentialGroup()
                .addComponent(panelPesoYAltura, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator1, javax.swing.GroupLayout.PREFERRED_SIZE, 2, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(panelPesoYAltura1, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator2, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addGap(12, 12, 12)
                .addGroup(panelEstudioCardiologiaInternoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(panelPesoYAltura4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(panelPesoYAltura6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(jSeparator4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator3, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                .addComponent(panelPesoYAltura5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(39, Short.MAX_VALUE))
        );
        panelEstudioCardiologiaInternoLayout.setVerticalGroup(
            panelEstudioCardiologiaInternoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(panelEstudioCardiologiaInternoLayout.createSequentialGroup()
                .addGroup(panelEstudioCardiologiaInternoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
                    .addComponent(panelPesoYAltura, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addGroup(panelEstudioCardiologiaInternoLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING, false)
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, panelEstudioCardiologiaInternoLayout.createSequentialGroup()
                            .addContainerGap()
                            .addComponent(jSeparator2))
                        .addGroup(javax.swing.GroupLayout.Alignment.LEADING, panelEstudioCardiologiaInternoLayout.createSequentialGroup()
                            .addContainerGap()
                            .addComponent(jSeparator1))
                        .addComponent(panelPesoYAltura1, javax.swing.GroupLayout.Alignment.LEADING, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(panelEstudioCardiologiaInternoLayout.createSequentialGroup()
                        .addComponent(panelPesoYAltura4, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(17, 17, 17)
                        .addComponent(jSeparator4, javax.swing.GroupLayout.PREFERRED_SIZE, 2, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addGap(18, 18, 18)
                        .addComponent(panelPesoYAltura6, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addGroup(panelEstudioCardiologiaInternoLayout.createSequentialGroup()
                        .addContainerGap()
                        .addComponent(jSeparator3, javax.swing.GroupLayout.PREFERRED_SIZE, 277, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(panelPesoYAltura5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addContainerGap(32, Short.MAX_VALUE))
        );

        panelEstudioCardiologiaInternoScrollPane.setViewportView(panelEstudioCardiologiaInterno);

        jSeparator5.setOrientation(javax.swing.SwingConstants.VERTICAL);

        textoCuidados.setFont(Fuente.FUENTE_TEXTFIELD);
        textoCuidados.setForeground(Fuente.COLOR_NORMAL);
        textoCuidados.setText("Cuidados");
        textoCuidados.setPreferredSize(new java.awt.Dimension(44, 20));

        agregarCuidado.setFont(Fuente.FUENTE_BOTON_INTERNO);
        agregarCuidado.setIcon(Icono.ICONO_16_AGREGAR);
        agregarCuidado.setMnemonic('a');
        agregarCuidado.setText("Agregar cuidado");
        agregarCuidado.setToolTipText("Agrega un análisis según el nombre del anális y el tipo");
        agregarCuidado.setPreferredSize(new java.awt.Dimension(175, 20));
        agregarCuidado.addActionListener(new java.awt.event.ActionListener() {
            public void actionPerformed(java.awt.event.ActionEvent evt) {
                agregarCuidadoActionPerformed(evt);
            }
        });

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
                .addComponent(panelEstudioCardiologiaInternoScrollPane, javax.swing.GroupLayout.PREFERRED_SIZE, 716, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(jSeparator5, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.TRAILING)
                    .addGroup(layout.createSequentialGroup()
                        .addComponent(textoCuidados, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                        .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.UNRELATED)
                        .addComponent(agregarCuidado, javax.swing.GroupLayout.PREFERRED_SIZE, 144, javax.swing.GroupLayout.PREFERRED_SIZE))
                    .addComponent(panelCuidadosScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 264, Short.MAX_VALUE))
                .addContainerGap())
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addGroup(layout.createParallelGroup(javax.swing.GroupLayout.Alignment.BASELINE)
                    .addComponent(textoCuidados, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE)
                    .addComponent(agregarCuidado, javax.swing.GroupLayout.PREFERRED_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.PREFERRED_SIZE))
                .addPreferredGap(javax.swing.LayoutStyle.ComponentPlacement.RELATED)
                .addComponent(panelCuidadosScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, 262, Short.MAX_VALUE)
                .addContainerGap())
            .addComponent(panelEstudioCardiologiaInternoScrollPane, javax.swing.GroupLayout.DEFAULT_SIZE, javax.swing.GroupLayout.DEFAULT_SIZE, Short.MAX_VALUE)
            .addGroup(layout.createSequentialGroup()
                .addComponent(jSeparator5, javax.swing.GroupLayout.DEFAULT_SIZE, 288, Short.MAX_VALUE)
                .addContainerGap())
        );
    }// </editor-fold>//GEN-END:initComponents

    private void agregarCuidadoActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_agregarCuidadoActionPerformed
        agregarCuidados();
}//GEN-LAST:event_agregarCuidadoActionPerformed

    private void siTuboEnTActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_siTuboEnTActionPerformed
        if (siTuboEnT.isSelected()) {
            noTuboEnT.setSelected(false);
        }
}//GEN-LAST:event_siTuboEnTActionPerformed

    private void noTuboEnTActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_noTuboEnTActionPerformed
        if (noTuboEnT.isSelected()) {
            siTuboEnT.setSelected(false);
        }
}//GEN-LAST:event_noTuboEnTActionPerformed

    /**
     * Valida en conjunto todos los campos. Aquellos que son obligatorios y los
     * que no.
     *
     * @return true si el objeto está listo para cargarse, false en caso
     * contrario
     */
    public boolean validarCampos() {
        boolean esCuidadosValida = validarCamposCuidados();

        return esCuidadosValida;
    }

    /**
     * Valida los campos correspondiente a los campos de cuidados.
     *
     * @return true si los campos estan listos para cargarse, false en caso
     * contrario
     */
    private boolean validarCamposCuidados() {
        boolean retorno = true;
        int paneles = panelCuidados.getComponents().length;

        if (paneles == 0) {
            textoCuidados.setForeground(Fuente.COLOR_NORMAL);
                textoCuidados.setToolTipText(null);
                return true;
        } else {
            for (int i = 0; i < paneles; i++) {
                if (!((DatosCuidadoPanel)
                        panelCuidados.
                        getComponents()[i]).validarCampos()) {
                    retorno = false;
                    textoCuidados.setForeground(Fuente.COLOR_ERROR);
                    textoCuidados.
                            setToolTipText(InformeError.
                            INFORME_ERROR_TRATAMIENTO_CUIDADOS_DE_INTERNACION_CUIDADOS);
                }
            }
        }
        if(retorno) {
                textoCuidados.setForeground(Fuente.COLOR_NORMAL);
                textoCuidados.setToolTipText(null);
                retorno = true;
            }
        return retorno;
    }

    /**
     * Agrega un Cuidado y Medicion.
     *
     * @return true si se agregó correctamente, false en caso contrario.
     */
    public boolean agregarCuidadoYMedicion(int[] idObjetoCreado,
            CuidadoYMedicion cuidadoYMedicion) {
            this.cuidadoYMedicion = cuidadoYMedicion;
            //Carga toda la información de la pantalla
            recopilarDatos();
            //Agrega el objeto
            if ((CuidadoYMedicionLogica.agregarCuidadoYMedicion(
                    datosCuidadoYMediciones, datosCuidadoCuidadoYMediciones,
                    new CuidadoYMedicion(), idObjetoCreado))) {
                return true;
            } else {
                return false;
            }
    }

    /**
     * Carga todos los datos ingresados en pantalla.
     *
     */
    private void recopilarDatos() {
        recopilarDatosGeneral();
        recopilarDatosComponentesCuidadoCuidadoYMediciones();
    }


    /**
     * Recopila toda la informacion ingresada en ventana principal de laboratorio.
     *
     */
    private void recopilarDatosGeneral() {
        datosCuidadoYMediciones = new Object[26];

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_ADPVC] =
                adPvc.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_PCP] =
                pcp.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_VM] =
                vm.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_SO_O2] =
                soO2.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_SV_O2] =
                svO2.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_S_MONITOREO_HEMODINAMICO] =
                sMonitoreoHemodinamico.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_D_MONITOREO_HEMODINAMICO] =
                dMonitoreoHemodinamico.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_ME_MONITOREO_HEMODINAMICO] =
                meMonitoreoHemodinamico.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_FC] =
                fc.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_FR] =
                fr.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_AX] =
                ax.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_C] =
                c.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_S_SIGNOS_VITALES] =
                sSignosVitales.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_D_SIGNOS_VITALES] =
                dSignosVitales.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_ME_SIGNOS_VITALES] =
                meSignosVitales.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_FI_O2] =
                fio2.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_PEEP] =
                peep.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_CONTROL_PR] =
                controlPr.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_CONTROL_VOL] =
                controlVol.getValue();

        if (siTuboEnT.isSelected()) {
            datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_TUBO_EN_T] =
                "si";
        } else {
            datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_TUBO_EN_T] =
                "no";
        }

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_PUPILAS] =
                pupilas.getSelectedItem().toString();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_PIC] =
                pic.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_HGT] =
                hgt.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_OJOS] =
                ojos.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_RESP_MOTORA] =
                respMotora.getValue();

        datosCuidadoYMediciones[CapaLogica.
                TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_RESP_VERBAL] =
                respVerbal.getValue();
    }

    /**
     * Recopila toda la informacion ingresada en cada panel de Profesionales.
     *
     */
    private void recopilarDatosComponentesCuidadoCuidadoYMediciones() {
        Component[] componentesProfesionales =
                panelCuidados.getComponents();

        datosCuidadoCuidadoYMediciones =
                new Object[componentesProfesionales.length][2];

        for (int i = 0; i < componentesProfesionales.length; i++) {
            //Tipo
            datosCuidadoCuidadoYMediciones[i][
                    CapaLogica.
                    TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_CUIDADO_TIPO] =
                    ((DatosCuidadoPanel)
                    componentesProfesionales[i]).getTipo();

            //Conclusiones
            datosCuidadoCuidadoYMediciones[i][
                    CapaLogica.
                    TRATAMIENTO_Y_PRACTICA_CUIDADO_DE_INTERNACION_CUIDADOS_Y_MEDICIONES_CUIDADO_CONCLUSIONES] =
                    ((DatosCuidadoPanel)
                    componentesProfesionales[i]).getConclusiones();
        }
    }

    private void agregarCuidados() {
            agregarPanel(panelCuidados,
                new DatosCuidadoPanel(null));
            agregarCuidado.setForeground(Fuente.COLOR_NORMAL);
            agregarCuidado.setToolTipText(null);
    }

    /**
     * Agrega un panel al panelExamenComplementarioInterno.
     *
     * @param panelContenedor El panel que contiene al panel que se agregará
     * @param panelComponente El panel componente que se agregará
     *
     */
    private void agregarPanel(JPanel panelContenedor, JPanel panelComponente) {
        panelContenedor.add(panelComponente);
        panelContenedor.revalidate();
        panelContenedor.repaint();
    }

    /**
     * Setea en cada componente del JDialog los eventos que capturarán la tecla
     * enter y escape.
     */
    private void setearEventosQueCapturanTeclaEnterYEscape() {
        //Declaración del evento a capturar
        KeyListener keyListenerEscape = new KeyAdapter() {
            public void keyPressed(java.awt.event.KeyEvent evt) {
                if (evt.getKeyCode() == KeyEvent.VK_ESCAPE) {
                    cerrarVentana();
                }
            }
        };

        //Setear eventos
        agregarCuidado.addKeyListener(keyListenerEscape);
        ((DefaultEditor) ojos.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) respMotora.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) respVerbal.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) fio2.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) peep.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) controlPr.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) controlVol.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        siTuboEnT.addKeyListener(keyListenerEscape);
        noTuboEnT.addKeyListener(keyListenerEscape);
        pupilas.addKeyListener(keyListenerEscape);
        ((DefaultEditor) pic.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) hgt.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) fc.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) fr.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) ax.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) c.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) sSignosVitales.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) dSignosVitales.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) meSignosVitales.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) adPvc.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) pcp.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) vm.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) soO2.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) svO2.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) sMonitoreoHemodinamico.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) dMonitoreoHemodinamico.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
        ((DefaultEditor) meMonitoreoHemodinamico.getEditor()).
                getTextField().addKeyListener(keyListenerEscape);
    }

    private void cerrarVentana() {
        JDialog jdialog = (JDialog)
                this.getParent().getParent().getParent().getParent().
                getParent().getParent().getParent().getParent().
                getParent().getParent().getParent().getParent().getParent();
        jdialog.dispose();
    }


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JSpinner adPvc;
    private javax.swing.JButton agregarCuidado;
    private javax.swing.JSpinner ax;
    private javax.swing.JSpinner c;
    private javax.swing.JSpinner controlPr;
    private javax.swing.JSpinner controlVol;
    private javax.swing.JSpinner dMonitoreoHemodinamico;
    private javax.swing.JSpinner dSignosVitales;
    private javax.swing.JSpinner fc;
    private javax.swing.JSpinner fio2;
    private javax.swing.JSpinner fr;
    private javax.swing.JSpinner hgt;
    private javax.swing.JSeparator jSeparator1;
    private javax.swing.JSeparator jSeparator2;
    private javax.swing.JSeparator jSeparator3;
    private javax.swing.JSeparator jSeparator4;
    private javax.swing.JSeparator jSeparator5;
    private javax.swing.JSpinner meMonitoreoHemodinamico;
    private javax.swing.JSpinner meSignosVitales;
    private javax.swing.JRadioButton noTuboEnT;
    private javax.swing.JSpinner ojos;
    private javax.swing.JPanel panelCuidados;
    private javax.swing.JScrollPane panelCuidadosScrollPane;
    private javax.swing.JPanel panelEstudioCardiologiaInterno;
    private javax.swing.JScrollPane panelEstudioCardiologiaInternoScrollPane;
    private javax.swing.JPanel panelPesoYAltura;
    private javax.swing.JPanel panelPesoYAltura1;
    private javax.swing.JPanel panelPesoYAltura4;
    private javax.swing.JPanel panelPesoYAltura5;
    private javax.swing.JPanel panelPesoYAltura6;
    private javax.swing.JSpinner pcp;
    private javax.swing.JSpinner peep;
    private javax.swing.JSpinner pic;
    private javax.swing.JComboBox pupilas;
    private javax.swing.JSpinner respMotora;
    private javax.swing.JSpinner respVerbal;
    private javax.swing.JSpinner sMonitoreoHemodinamico;
    private javax.swing.JSpinner sSignosVitales;
    private javax.swing.JRadioButton siTuboEnT;
    private javax.swing.JSpinner soO2;
    private javax.swing.JSpinner svO2;
    private javax.swing.JLabel textoAdPvc;
    private javax.swing.JLabel textoAx;
    private javax.swing.JLabel textoC;
    private javax.swing.JLabel textoControlPr;
    private javax.swing.JLabel textoControlVol;
    private javax.swing.JLabel textoCuidados;
    private javax.swing.JLabel textoDMonitoreoHemodinamico;
    private javax.swing.JLabel textoDSignosVitales;
    private javax.swing.JLabel textoEscalaGlasgow;
    private javax.swing.JLabel textoFc;
    private javax.swing.JLabel textoFioO2;
    private javax.swing.JLabel textoFr;
    private javax.swing.JLabel textoHgt;
    private javax.swing.JLabel textoMeMonitoreoHemodinamico;
    private javax.swing.JLabel textoMeSignosVitales;
    private javax.swing.JLabel textoMonitoreoHemodinamico;
    private javax.swing.JLabel textoOjos;
    private javax.swing.JLabel textoPap;
    private javax.swing.JLabel textoPcp;
    private javax.swing.JLabel textoPeep;
    private javax.swing.JLabel textoPic;
    private javax.swing.JLabel textoPupilas;
    private javax.swing.JLabel textoRespMotora;
    private javax.swing.JLabel textoRespVerbal;
    private javax.swing.JLabel textoRespiratorio;
    private javax.swing.JLabel textoSMonitoreoHemodinamico;
    private javax.swing.JLabel textoSSignosVitales;
    private javax.swing.JLabel textoSignosVitales;
    private javax.swing.JLabel textoSoO2;
    private javax.swing.JLabel textoSvO2;
    private javax.swing.JLabel textoT;
    private javax.swing.JLabel textoTa;
    private javax.swing.JLabel textoTuboenT;
    private javax.swing.JLabel textoVm;
    private javax.swing.JSpinner vm;
    // End of variables declaration//GEN-END:variables
    private CuidadoYMedicion cuidadoYMedicion;
    private Object[][] datosCuidadoCuidadoYMediciones;
    private Object[] datosCuidadoYMediciones;
    
}
